﻿using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;

namespace JoyfulHomeJourney.BackEnd.Api.Admin.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class BaseController : ControllerBase
    {
        public SysAccounts _account;
        protected IActionResult Send(object o)
        {
            return Ok(JsonConvert.SerializeObject(o));
        }
    }
}